using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace CMS.Domain.Entity
{
    /// <summary>
    /// 用户表
    /// </summary>
    public class Users:Base.BaseEntity
    {
        /// <summary>
        /// 昵称
        /// </summary>
        /// <value></value>
        public string UserName {get;set;}=null!;
        
        /// <summary>
        /// 密码
        /// </summary>
        /// <value></value>
        public string PassWord {get;set;}=null!;

        /// <summary>
        /// 邮箱
        /// </summary>
        /// <value></value>
        public string Email {get;set;}=null!;
        
        /// <summary>
        /// 是否为管理员
        /// 默认为否
        /// </summary>
        /// <value></value>
        public bool IsAdministor {get;set;}

        /// <summary>
        /// 作者头像id
        /// </summary>
        /// <value></value>
        public Guid AvatarId{get;set;}

    }
}